package com.example.music.mapper;

import com.example.music.domain.Administrators;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AdministratorsMapper {
    public List<Administrators> getAdministrators();
    public List<Administrators> selectAdministratorsByName(String name);
    public Administrators selectAdministratorsById(Long id);
    public int insertAdministrators(Administrators administrators);
    public int updateAdministrators(Administrators administrators);
    public int deleteAdministratorsById(Long id);
}
